micro_utils.dokka
0.12.17
common
micro_utils.dokka
/
dev.inmo.micro_utils.common
/
[common]dataOrThrow
data
Or
Throw
common
fun
<
T
>
Optional
<
T
>
.
dataOrThrow
(
throwable
:
Throwable
)
:
T
Content copied to clipboard
Returns
Optional.data
if
Optional.dataPresented
of
this
is true, or throw
throwable
otherwise